package com.ruoyi.system.dao;

import com.ruoyi.system.domain.po.TInterfaceCategory;
import com.ruoyi.system.domain.vo.TInterfaceVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author nanyang
 */
public interface TInterfaceDao {

    List<TInterfaceCategory> selectByCategoryChildren(Long id);


    int updateCategoryChildren(List<TInterfaceCategory> categories);

    List<TInterfaceVo.Result> queryInterface(@Param("categoryId") Long categoryId,
                                      @Param("name") String name,
                                      @Param("uri") String uri,
                                      @Param("method") Byte method,
                                      @Param("code")  String code);
}
